Skip to main content

recordSampleSize

Type

property

Summary

Specifies how large each chunk of data should be when recording sound.

Syntax

set the recordSampleSize to <sizeInBits>

Description

Use the recordSampleSize property to trade off between sound quality and disk space when you record a sound.

The recordSampleSize property determines the sound sample size when you use the record sound command to record sound to a file.

The possible recordSampleSize depend on the system's capabilities, but are typically 8 and 16. The recordSampleSize may not have any effect depending on the codec specified by the recordFormat property.

Examples

set the recordSampleSize to 16

command: answer record, record sound

glossary: property, command, dialog box

property: recordCompression, recordRate

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

ios

android

web

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?